package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcWatchDataHeart;
import com.csun.cmny.provider.model.dto.watch.WatchHeartQueryDto;
import com.csun.cmny.provider.model.vo.watch.WatchHeartDayVo;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-01-24 15:02
 * @Description: the interface dmc watch data heart service
 */
public interface DmcWatchDataHeartService extends IService<DmcWatchDataHeart> {

    /**
     * query hist heart with day
     *
     * @param watchHeartQueryDto    watch heart query dto
     *
     * @return  the watch heart day vo
     */
    WatchHeartDayVo queryHistHeartWithDay(WatchHeartQueryDto watchHeartQueryDto);

    /**
     * 移除心跳数据
     *
     * @param deviceId  the device id
     *
     * @return  the int
     */
    Integer removeDmcWatchDataHeart(Long deviceId);
}
